﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		
		<title>医疗业务统计系统</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="医疗业务统计系统">
		<meta http-equiv="description" content="医疗业务统计系统">
		<link rel="stylesheet" type="text/css" href="js/jquery-ui/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="js/jquery-ui/themes/icon.css">
		<link href="skin/default/style.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="js/Highcharts/highcharts.js"></script>
<script type="text/javascript" src="js/Highcharts/themes/grid.js"></script>
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="skin/default/script/layout.js"></script>
<script type="text/javascript" src="skin/default/script/layout_hui.js"></script>
<base href="<%=basePath%>">
<script>
	var user = '<%=request.getSession().getAttribute("logon")%>';
	if(user=='null'){
		alert('您还没有登录,请先登录!');
		window.location.href = 'login.jsp';
	}
	$(function(){
		$("#loginfo").html( '您好,<%=request.getSession().getAttribute("logon")%>'); 
	})
</script>
</head>
<body>

<div class="header">
	<div class="other">
	<a class="logo"></a>
    	<ul>
        	<li onClick="outlogin()">退出登录</li>
        </ul>
        <ul>
        	<li id="loginfo"></li>
        </ul>
    </div>
</div>
<div id="topnav">
	<a class="on" onclick="clinicSat()">门诊人次</a>
	<a class="" onclick="hosNumSat()">出入院人次</a>
	<a class="" onclick="clinicExpSat('',1)">门诊费用</a>
	<a class="" onclick="hosExpSat('',1)">住院费用</a>
	<a class="" onclick="clinicPCTExpSat()">门诊人均费用</a>
	<a class="" onclick="hostPCTExpSat()">住院人均费用</a>
</div>
<div id="maincont">
	<div id="leftcont">
    	<div class="lefttit" id="left_title">门诊人次</div>
        <div id="leftsub">
        	<ul id="main-nav">
				<li><a class="" onclick="satByPatient('',1)">病人类别统计</a>
                	<ul>
						<li><a onclick="satByPatient(1,1)" >自费</a></li>
						<li><a onclick="satByPatient(2,1)" class="">医保</a></li>
						<li><a onclick="satByPatient(3,1)" class="">合保</a></li>
					</ul>
				</li>
				<li><a class="" onclick="satByMedExp('',2)">费用类别统计</a>
					<ul>
						<li><a class=""  onclick="satByMedExp('1',2)">诊疗</a></li>
						<li><a class=""  onclick="satByMedExp('2',2)">药品</a></li>
					</ul>
				</li>
			</ul>
        </div>
    </div>
	<div id="rightcont">
    	<div class="crumb" id="crumb"><label>您当前的位置：</label><span>业务统计</span><span>&gt;</span><span class="on">门诊量</span></div>
        <div class="content-box">
			<div class="search-content">
            	<label>上报医院</label>
						<input id="org" class="easyui-combobox" name="org" panelHeight="auto">
						<input type="radio" name="rad" checked="checked" value="1">
						<label>综合</label>
						<input type="radio" name="rad" value="2">
						<label>月度</label>
						<input type="radio" name="rad" value="3">
						<label>年度</label>
						<label>统计时间</label>
						<input id="fromDate" type="text" style="width:88px;border:1px solid #e3e3e3;" class="Wdate" onFocus="MyWdatePicker()" >
						<label>至</label>
						<input id="endDate" type="text" style="width:88px;border:1px solid #e3e3e3;" class="Wdate" onFocus="MyWdatePicker()" />
						
						<input type="submit" value="查 询" class="searchbt"
							onclick="search()" />
					</div>
            <div class="postbox" id="piebox">
                    <h2 id="Rtitle1">门诊费用统计</h2>
                    <div id="pie_Info">
                    <p>上报医院:<span id="depInfo"></span></p>
                        <p>开始时间：<span id="startDateSpan"></span></p>
                        <p>结束时间:<span id="endDateSpan"></span></p>
                        <p><span id="totalUnit">总人次：</span><span id="totalSpan"></span></p>
                    </div >
                    <div id="container_pie"></div>
            </div>
            <div class="postbox mleft-10">
                    <h2 id="Rtitle2">门诊费用</h2>
					<div id="container_line"></div>
            </div>
            <div class="postboxlong mtop-10">
            <ul class="content-box-tabs">
					<li><a href="#container_column" id="Rtitle3" class="default-tab">门诊人次直方图</a></li> 
					<li><a href="#dataTabble" id="Rtitle4" class="datatabble">数据明细</a></li>
				</ul>
				<div class="content-box-content">
					<div class="tab-content default-tab" id="container_column"></div>
					<div id="dataTabble"  >
						<div id="datagrid" ></div>
	                </div>
				</div>
		</div>

		</div>
    </div>
</div>
<div class="footer">版权所有 嘉兴市卫生局  技术支持 东蓝数码</div>

</body>
</html>
